package com.itheima.edu.info.manager.controller;

import com.itheima.edu.info.manager.domain.Staff;
import com.itheima.edu.info.manager.service.StaffService;

import java.util.Scanner;

public class StaffController extends BaseStaffController{
    static Scanner scanner = new Scanner(System.in);
    static StaffService staffService = new StaffService();

    public Staff getStaff(String sId) {
        System.out.print("请输入员工姓名");
        String sName = scanner.next();
        System.out.print("请输入员工年龄");
        String sAge = scanner.next();
        System.out.print("请输入员工生辰");
        String sBirth = scanner.next();
        return new Staff(sId, sName, sAge, sBirth);
    }
}
